﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Logistics_Management_System.Transportation
{
    public class Trip_Repository : ServiceBase
    {
        public LG_Trip GetTripById(int trip_id)
        { return (from trip in this.DB.LG_Trips where trip.Id == trip_id select trip).FirstOrDefault<LG_Trip>(); }

    }
}